package com.rongj.generation.core.util;

public class EntityDto {

    private String name;

    private String classTypeName;

    private boolean hibernates = false;

    private String sname;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassTypeName() {
        return classTypeName;
    }

    public void setClassTypeName(String classTypeName) {
        this.classTypeName = classTypeName;
    }

    public boolean isHibernates() {
        return hibernates;
    }

    public void setHibernates(boolean hibernates) {
        this.hibernates = hibernates;
    }

    public String getSname() {
        return sname.toUpperCase();
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getNameM(){
        return "get"+StringUtil.convert(name);
    }
    public String getSetnameM(){
        return "set"+StringUtil.convert(name);
    }
}
